<?PHP if ($TotalResults==0){?>
            <?php include('template/'.MOBAN.'/tuijian.tpl.php');?>
            <?php }else{?>
		<div id="splistbox" class="splistbox0" style="clear:both; ">
			
			<ul>
				<?php for($i = 0; $i < count($TaobaokeItem); $i++) {
					if($TaobaokeItem[$i]["click_url"]!=''){
					    $go_taobao="goto.php?url=".base64_encode($TaobaokeItem[$i]["click_url"])."&pic=".base64_encode($TaobaokeItem[$i]["pic_url"]."_310x310.jpg")."&price=".$TaobaokeItem[$i]["price"]."&fan=".ck_fxje($TaobaokeItem[$i]["commission"],$_SESSION['dduserlevel'])."&name=".urlencode(strip_tags($TaobaokeItem[$i]["title"]))."&act=goods&iid=".$TaobaokeItem[$i]["num_iid"];
					}
					else{
					    $go_taobao="goto.php?url=".base64_encode('http://item.taobao.com/item.htm?id='.$TaobaokeItem[$i]["num_iid"])."&pic=".base64_encode($TaobaokeItem[$i]["pic_url"]."_310x310.jpg")."&price=".$TaobaokeItem[$i]["price"]."&fan=".ck_fxje($TaobaokeItem[$i]["commission"],$_SESSION['dduserlevel'])."&name=".urlencode(strip_tags($TaobaokeItem[$i]["title"]))."&act=goods&iid=".$TaobaokeItem[$i]["num_iid"];
					}
					$go_view="view".$url_head_iid.encode_url($TaobaokeItem[$i]["num_iid"]).$url_end;
					//简易模式还是详细模式选择不同的链接地址
					if(WEBTYPE=='0'){
						$gourl=$go_taobao;
					}else{
						$gourl="view".$url_head_iid.encode_url($TaobaokeItem[$i]["num_iid"]).$url_end;
					}
				?>
				<li>
					<div class="pic"><a href="<?=$gourl?>" target="_blank" class="taopic" pic="<?=base64_encode($TaobaokeItem[$i]["pic_url"]."_310x310.jpg")?>"><?=html_img($TaobaokeItem[$i]["pic_url"]."_100x100.jpg",strip_tags($TaobaokeItem[$i]["title"]),'',100,100)?></a></div>
					<div class="title"><h2><a href="<?=$gourl?>" target="_blank"><?php echo $TaobaokeItem[$i]["title"] ?></a></h2>
					<p>本期已售出 <?php echo $TaobaokeItem[$i]["commission_num"] ?> 件 &nbsp;&nbsp;&nbsp;&nbsp;<?php if($Result_users[$i]["type"]=="B"){echo " <img src=\"template/".MOBAN."/images/shangcheng.png\" alt=\"商城卖家\">";}else {echo " <img src=\"images/level_".$Result_users[$i]["seller_credit"]["level"].".gif\" align=\"absmiddle\" />";} ?><br>
                    <font color="#999999">卖家：</font><A  href="shoplist<?=$url_head_keyword?><?=urlencode($Result_users[$i]["nick"])?><?=$url_end?>" target=_blank title="逛逛<?php echo $Result_users[$i]["nick"];?>的店铺"><?php echo $Result_users[$i]["nick"];?></a> <?=wangwang($Result_users[$i]["nick"])?><?php if(TAOPJOPEN==1){?>&nbsp;&nbsp; (<a url="userNumId=<?=$TaobaokeItem[$i]["user_id"]?$TaobaokeItem[$i]["user_id"]:$uid?>&auctionNumId=<?=$TaobaokeItem[$i]["num_iid"]?>" goto="<?=$go_taobao?>" style="color:#06F; text-decoration:underline" class="seepj" href="javascript:;">查看评价</a>) <?php }?></p>
					</div>
					<div class="rightdetail">
						<div style="width:310px; height:20px; overflow:hidden">
							<div class="jiage">淘宝价：<b><?php echo $TaobaokeItem[$i]["price"] ?></b> 元</div>
							<div class="city"><?=$TaobaokeItem[$i]["item_location"]?></div>
							<div class="baozhang"><a style="color:#666" href="<?=$go_view?>" target="_blank">详情</a></div>
						</div>
						<div class="fanmi">
							<div style=" width:120px; float:right; margin-top:20px; margin-right:20px; margin-left:10px; text-align:right"><a href="list.php?q=<?php echo urlencode(strip_tags($TaobaokeItem[$i]["title"]))?>"><img src="template/<?=MOBAN?>/images/bibi.gif" alt="比比价格" /></a><br><br><a href="<?=$go_taobao?>" target="_blank">马上去淘宝购买</a></div>
							<?php if(ck_fxje($TaobaokeItem[$i]["commission"],$_SESSION['dduserlevel'])>0){?>
                            <div class="jiage">可返现： <b><?=ck_fxje($TaobaokeItem[$i]["commission"],$_SESSION['dduserlevel'])?></b> 元</div> 
                            <?php }else{?>
                            <div class="jiage" style="color:#F00">该商品暂无返利</div>
                            <?php }?>
						</div>
				  </div>
				</li>
				<?php }?>
			</ul>
		</div>	
        <?php }?>